package com.gress.shop.bo;

import com.gress.shop.constants.EmailConstants;

public class Email {
    private String id;

    private String from;

    private String to;

    private String subject;

    private String text;

    /**
     * 标识邮件是否发送成功
     * ：success or error
     * */
    private String opOne;

    /**
     * 标识由谁触发发送
     *
     * @see EmailConstants.Type
     */
    private String opTwo;

    /**
     * 标记已读 未读
     *
     * @see EmailConstants.Type
     */
    private String opThree;

    private int isValid;

    private long createTime;

    private long opTime;

    private int lastVer;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getOpOne() {
        return opOne;
    }

    public void setOpOne(String opOne) {
        this.opOne = opOne;
    }

    public String getOpTwo() {
        return opTwo;
    }

    public void setOpTwo(String opTwo) {
        this.opTwo = opTwo;
    }

    public String getOpThree() {
        return opThree;
    }

    public void setOpThree(String opThree) {
        this.opThree = opThree;
    }

    public int getIsValid() {
        return isValid;
    }

    public void setIsValid(int isValid) {
        this.isValid = isValid;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getOpTime() {
        return opTime;
    }

    public void setOpTime(long opTime) {
        this.opTime = opTime;
    }

    public int getLastVer() {
        return lastVer;
    }

    public void setLastVer(int lastVer) {
        this.lastVer = lastVer;
    }
}